﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GeneralMotionControlProject.WPF;

namespace HostComputerPlatform.Display
{
    public class AxisStatusDisp : DispBase
    {
        private bool almState;

        public bool AlmState
        {
            get { return almState; }
            set
            {
                if (almState != value)
                {
                    almState = value;
                    OnPropertyChanged();
                }
            }
        }
        private bool homeState;

        public bool HomeState
        {
            get { return homeState; }
            set
            {
                if (homeState != value)
                {
                    homeState = value;
                    OnPropertyChanged();
                }
            }
        }
        private bool moveState;

        public bool MoveState
        {
            get { return moveState; }
            set
            {
                if (moveState != value)
                {
                    moveState = value;
                    OnPropertyChanged();
                }
            }
        }
        private bool neglimitState;

        public bool NeglimitState
        {
            get { return neglimitState; }
            set
            {
                if (neglimitState != value)
                {
                    neglimitState = value;
                    OnPropertyChanged();
                }
            }
        }
        private bool posLimitState;

        public bool PosLimitState
        {
            get { return posLimitState; }
            set
            {
                if (posLimitState != value)
                {
                    posLimitState = value;
                    OnPropertyChanged();
                }
            }
        }
        private bool servoOnState;

        public bool ServoOnState
        {
            get { return servoOnState; }
            set
            {
                if (servoOnState != value)
                {
                    servoOnState = value;
                    OnPropertyChanged();
                }
            }
        }
        private double posPrf;

        public double PosPrf
        {
            get { return posPrf; }
            set
            {
                if (posPrf != value)
                {
                    posPrf = value;
                    OnPropertyChanged();
                }
            }
        }
        private double posEnc;

        public double PosEnc
        {
            get { return posEnc; }
            set
            {
                if (posEnc != value)
                {
                    posEnc = value;
                    OnPropertyChanged();
                }
            }
        }
    }
}
